package com.example.cdpbookstore.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论ID(UUID)
     */
    private String id;

    /**
     * 评论人(顾客ID，逻辑外键)
     */
    private String customerId;

    /**
     * 订单详情ID(逻辑外键)
     */
    private String orderDetailId;

    /**
     * 评论ID(自关联)
     */
    private String replyForId;

    /**
     * 评论(仅文字)
     */
    private String content;

    /**
     * 状态(1启用，0禁用。默认1)
     */
    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime creationTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


}
